package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Daily;
import cn.wolfcode.trip.base.domain.DailyContent;
import cn.wolfcode.trip.base.query.DailyQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.util.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDailyService {
    List<Daily> listAll();
    PageInfo query(DailyQueryObject qo);
    void saveOrUpdate(Daily daily);

    Daily get(Long dailyId);

    DailyContent getContentById(Long id);


}
